* {
  margin: 0;
  padding: 0;
}

.App {
  width: 100%;
  min-width: 1140px;
  min-height: 100vh;
  user-select: none;
  position: relative;

  .header {
    width: 100%;
    height: 80px;
    box-shadow: 0 5px 10px #d4d4d4;

    .container {
      width: 1140px;
      margin: auto;
      display: flex;
      justify-content: flex-start;
      align-items: center;

      .logo {
        font-size: 24px;
        line-height: 80px;
        color: #c9302c;
      }

      .navigation {
        margin-left: 30px;

        a {
          color: #000;
          line-height: 80px;
          display: inline-block;
          text-decoration: none;
          font-size: 16px;
          font-weight: bold;
          padding: 0 15px;

          &:hover {
            background-color: rgba(0, 0, 0, .03922);
          }
        }

        .active {
          background-color: rgba(0, 0, 0, .03922);
        }
      }

      .search {
        margin-left: 20px;

        input {
          width: 300px;
          height: 30px;
          padding: 0 10px;
          font-size: 14px;
          border: 1px solid #dcdfe6;
          border-radius: 4px;

          &::-webkit-input-placeholder {
            color: #dcdfe6;
          }

          &:focus {
            border-color: #409eff;
            outline: 0;
          }
        }

        button {
          width: 100px;
          height: 30px;
          margin: 20px;
          border: none;
          border-radius: 4px;
          font-size: 14px;
          line-height: 30px;
          background-color: #f56c6c;

          &:hover {
            background-color: #f78989;
          }

          &:active {
            background-color: #dd6161;
          }

          a {
            width: 100%;
            height: 100%;
            color: #fff;
            display: block;
            text-decoration: none;
          }
        }
      }
    }
  }

  .main {
    width: 1140px;
    margin: auto;
  }

  .footer {
    width: 100%;
    height: 120px;
    color: #fff;
    text-align: center;
    background-color: #c9302c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    bottom: -120px;
    left: 0;

    ul {
      padding-top: 10px;
      list-style: none;
      display: flex;
      justify-content: center;

      li {
        margin: 0 20px;
      }
    }

    p {
      margin: 10px auto;
    }
  }
}